/**
 * 
 */
package org.apache.struts.helloworld.model;

/**
 *
 * @author wanghy
 * @since 2014-2-25
 * 
 */
public class MessageStore {

	private String message;
	
	public MessageStore() {
		setMessage("Hello Struts User");
	}

	/**
	 * @return the message
	 */
	public String getMessage() {
		return message;
	}

	/**
	 * @param message the message to set
	 */
	public void setMessage(String message) {
		this.message = message;
	}
	
	@Override
	public String toString() {
		return message + "(from toString)";
	}
	
}
